﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterALSafa.Master" AutoEventWireup="true"
    CodeBehind="ManageStudents.aspx.cs" Inherits="School.Pages.Testing.ManageStudents" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div id="result" runat="server"></div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table width="100%">
                <tr>
                    <td width="20%">
                        المجمع
                    </td>
                    <td>
                        <asp:DropDownList ID="LstCampuses" runat="server" OnSelectedIndexChanged="LstCampuses_SelectedIndexChanged"
                            AutoPostBack="True">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        الشهادة
                    </td>
                    <td>
                        <asp:DropDownList ID="LstCertificates" runat="server" AutoPostBack="True" OnSelectedIndexChanged="LstCertificates_SelectedIndexChanged">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        المرحلة
                    </td>
                    <td>
                        <asp:DropDownList ID="LstStages" runat="server" AutoPostBack="True" OnSelectedIndexChanged="LstStages_SelectedIndexChanged">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        الصف
                    </td>
                    <td>
                        <asp:DropDownList ID="LstGrades" runat="server" AutoPostBack="True" OnSelectedIndexChanged="LstGrades_SelectedIndexChanged">
                        </asp:DropDownList>
                    </td>
                </tr>
            </table>
            <asp:GridView ID="GridView1" runat="server" CssClass="Grid" HeaderStyle-CssClass="GridHeaderFooter"
                FooterStyle-CssClass="GridHeaderFooter" PagerStyle-CssClass="GridPager" AlternatingRowStyle-CssClass="GridItemAltername"
                AutoGenerateColumns="False">
                <AlternatingRowStyle CssClass="GridItemAltername"></AlternatingRowStyle>
                <Columns>
                    <asp:TemplateField ControlStyle-Width="1%">
                        <ItemTemplate>
                            <asp:Label ID="LblId" runat="server" Text='<%# Eval("Id") %>' Visible="false"></asp:Label>
                            <asp:CheckBox ID="ChkStudent" runat="server" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="Name" HeaderText="الاسم" />
                </Columns>
                <FooterStyle CssClass="GridHeaderFooter"></FooterStyle>
                <HeaderStyle CssClass="GridHeaderFooter"></HeaderStyle>
                <PagerStyle CssClass="GridPager"></PagerStyle>
            </asp:GridView>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:Button ID="Button1" runat="server" Text="حذف" onclick="Button1_Click" />
    <asp:Button ID="Button2" runat="server" Text="انزال" onclick="Button2_Click" />
</asp:Content>
